package com.ruicar.afs.cloud.common.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author: Lee
 * @date: 2020/5/11 19:39
 * @description:
 */
@Data
public class ChangePlanSyncDataRequestVo {
    @ApiModelProperty("合同号")
    private String contractNo;
    @ApiModelProperty("新的到期日")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JSONField(format="yyyy-MM-dd")
    private Date dueDate;
    @ApiModelProperty("还款日变更手续费")
    private BigDecimal costAmt;
    @ApiModelProperty("还款日变更额外利息")
    private BigDecimal extraInterest;

}
